const R = require('ramda')

let multiply = (a, b) => a * b
let double = R.partial(multiply, [2])
console.log(double(2))


let greet = (salutation, title, firstName, lastName) => {
  return salutation + ', ' + title + ' ' + firstName + ' ' + lastName + '!';
}

let sayHelloToMs = R.partial(greet,['Hello', 'Ms.'])
console.log(sayHelloToMs('Jane','Jones'))
